/* File: templatemo-eduwell-style.css
  Description: Stylesheet for the Pay-NidiEdu website.
*/

:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #4cc9f0;
    --dark: #1d3557;
    --light: #f8f9fa;
    --success: #4ade80;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray: #6c757d;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
    padding-top: 80px; /* Ensure the main content isn't hidden behind the fixed header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

section {
    padding: 80px 0; /* Consolidated section padding */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.section-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* Header */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    padding: 20px 0;
    box-shadow: none;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo span {
    color: var(--primary);
}

.main-nav-wrapper {
    display: block;
}

.main-nav {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Header style when scrolled */
.main-header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

/* Adjust logo and nav links color for contrast when header is white */
.main-header.scrolled .logo,
.main-header.scrolled .main-nav a {
    color: var(--dark);
}

/* Dropdown Menu (sub-menu) */
.main-nav .has-sub {
    position: relative;
}

.main-nav .sub-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 180px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
}

.main-nav .has-sub.active .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .sub-menu li {
    display: block;
    padding: 8px 15px;
}

.main-nav .sub-menu a {
    display: block;
    padding: 0;
    color: var(--dark);
    font-weight: 500;
    white-space: nowrap;
}

.main-nav .sub-menu a:hover {
    color: var(--primary);
    background-color: transparent;
}

.main-nav .sub-menu a i {
    margin-right: 8px;
    color: var(--gray);
}

/* Cart Badge */
.main-nav .badge {
    background-color: var(--danger);
    color: white;
    font-size: 0.7rem;
    padding: 3px 7px;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -10px;
    transform: translate(50%, -50%);
    min-width: 20px;
    text-align: center;
    line-height: 1;
}

.main-nav li a {
    position: relative;
}


/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    font-size: 1.8rem;
    color: var(--dark);
    cursor: pointer;
    display: none;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1002;
    display: flex;
    justify-content: flex-end;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
    visibility: visible;
    opacity: 1;
}

.mobile-nav-list {
    background-color: white;
    width: 280px;
    height: 100%;
    list-style: none;
    padding: 80px 20px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.mobile-nav-overlay.active .mobile-nav-list {
    transform: translateX(0);
}

.mobile-nav-list li {
    margin-bottom: 15px;
}

.mobile-nav-list a {
    display: block;
    padding: 10px 15px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
    background-color: var(--primary);
    color: white;
}

.mobile-nav-list a i {
    margin-right: 10px;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--dark);
    cursor: pointer;
    z-index: 1003;
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1d3557 0%, #3a0ca3 100%);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    max-width: 300px;
}

.hero-feature i {
    font-size: 2rem;
    margin-right: 15px;
    color: var(--accent);
}

/* Features Section */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 30px;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

/* Courses Section */
.courses {
    background: linear-gradient(to bottom, #f0f4ff, #e2e8ff);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added transition for animation */
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02); /* Subtle lift and slight scale */
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.2); /* More prominent shadow on hover */
}

.course-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 25px;
    text-align: center;
}

.course-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.course-body {
    padding: 25px;
}

.course-features {
    list-style: none;
    margin: 20px 0;
    padding: 0; /* Ensure no default padding */
}

.course-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--dark);
}

.course-features li:last-child {
    border-bottom: none;
}

.course-features li i {
    color: var(--primary);
    margin-right: 10px;
    width: 20px; /* Give icons a fixed width for alignment */
    text-align: center;
}

.course-features li span {
    font-weight: 600;
    color: var(--secondary);
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Align items vertically */
    margin-top: 20px;
    font-weight: 600;
    color: var(--gray);
    font-size: 1.1rem;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.course-meta span:last-child {
    color: var(--primary);
    font-size: 1.4rem; /* Larger price */
    font-weight: 700;
}

.course-actions {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

/* Mentors Section */
.mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.mentor-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    padding: 30px 20px;
}

.mentor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.15);
}

.mentor-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid #eef2ff;
    position: relative;
}

.mentor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mentor-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.2), rgba(58, 12, 163, 0.2));
    border-radius: 50%;
}

.mentor-img i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.7;
}

.mentor-card h3 {
    margin-bottom: 5px;
    color: var(--dark);
}

.mentor-card .role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.mentor-card p {
    margin-bottom: 20px;
    color: var(--gray);
}

/* Small social links for mentor cards */
.social-links-small {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.social-links-small a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.1); /* Light primary color */
    color: var(--primary);
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-links-small a:hover {
    background: var(--primary);
    color: white;
}


/* Testimonials Section */
.testimonials {
    background: linear-gradient(to bottom, #f0f4ff, #e2e8ff);
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    text-align: center;
    margin: 20px;
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--gray);
    position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    line-height: 1;
}

.testimonial-content::before {
    top: -20px;
    left: -20px;
}

.testimonial-content::after {
    content: '"';
    bottom: -40px;
    right: -20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.author-info p {
    color: var(--primary);
    font-weight: 600;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    margin: 0 10px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.testimonial-nav button:hover {
    background: var(--primary);
    color: white;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta .btn {
    background: white;
    color: var(--primary);
    font-weight: 700;
    padding: 15px 40px;
}

.cta .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
    text-align: center;
}

.footer .section-header {
    margin-bottom: 40px;
}

.footer .section-subtitle {
    color: var(--accent);
}

.footer h2 {
    color: white;
}

.footer h2 em {
    color: var(--primary);
    font-style: normal;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

/* Contact Info in Footer - Made Smaller */
.footer-col .contact-info {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 10px;
    transition: none;
    box-shadow: none;
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.footer-col .contact-info .icon {
    font-size: 1.1rem;
    margin-right: 10px;
    margin-bottom: 0;
    width: 25px;
    flex-shrink: 0;
}

.footer-col .contact-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: white;
}

.footer-col .contact-info span {
    color: #b0b0b0;
    font-size: 0.85rem;
}


/* Footer Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 10px;
    color: var(--accent);
    width: 20px;
    text-align: center;
}

/* Footer Social Links */
.footer-col .social-links {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 20px;
}

.footer-col .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: var(--transition);
    font-size: 1.2rem;
}

.footer-col .social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Copyright Area */
.copyright-area {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-top: 0;
}


/* About Us Page Specific Styles */
.page-header {
    background: linear-gradient(135deg, #1d3557 0%, #3a0ca3 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    opacity: 0.15;
}

.page-header .header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.page-header h1 span {
    color: var(--accent);
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}


/* Our Story Section */
.our-story-section .section-heading {
    text-align: left;
    margin-bottom: 30px;
}

.our-story-section .section-heading h2 {
    font-size: 2.2rem;
}

.our-story-section .story-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.our-story-section .story-graphic i {
    font-size: 4rem;
    color: white;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.our-story-section .story-graphic i:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* Why Choose Us Section */
.why-choose-us-section .features-grid {
    margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
    .our-story-section .story-graphic {
        margin-top: 40px;
    }
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        text-align: center;
    }
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col .contact-info,
    .footer-col .social-links,
    .footer-links {
        justify-content: center;
        text-align: center;
    }
    .footer-links a i {
        margin-right: 5px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2.2rem;
    }

    .main-nav-wrapper { /* Hide desktop nav */
        display: none;
    }

    .page-header {
        padding: 60px 0;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .our-story-section .section-heading {
        text-align: center;
    }
    .our-story-section .story-graphic {
        flex-direction: column;
        gap: 20px;
        padding: 30px;
    }
    .our-story-section .story-graphic i {
        font-size: 3rem;
    }

    .footer {
        padding: 40px 0 15px;
    }
    .footer .section-header {
        margin-bottom: 30px;
    }
    .footer h2 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col .contact-info,
    .footer-col .social-links,
    .footer-links {
        justify-content: center;
        text-align: center;
    }
    .footer-col .contact-info .icon {
        margin-right: 8px;
    }
    .footer-links li {
        margin-bottom: 8px;
    }
    .footer-links a {
        font-size: 0.9rem;
    }
    .copyright {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-feature {
        width: 100%;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }

    .login-card {
        padding: 25px;
    }

    .login-card .logo {
        font-size: 2rem;
    }

    .login-card .section-header h2 {
        font-size: 1.8rem;
    }

    .social-btn {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .input-field {
        padding: 10px 12px;
    }

    .login-btn {
        padding: 12px;
        font-size: 1rem;
    }

    .register-card {
        padding: 25px;
    }

    .register-card .section-header h2 {
        font-size: 1.8rem;
    }
}
/* Login Page Specific Styles */
.login-section {
    padding: 100px 0; /* Add padding to the section */
    background: linear-gradient(135deg, #f0f4ff, #e2e8ff); /* Light gradient background */
    min-height: 100vh; /* Ensure it takes full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    margin: 0 auto; /* Center the card */
}

.login-card .logo-container {
    margin-bottom: 30px;
}

.login-card .logo {
    font-size: 2.5rem; /* Larger logo for the login page */
    display: inline-block;
    margin-bottom: 20px;
}

.login-card .section-header {
    margin-bottom: 30px;
}

.login-card .section-header h2 {
    font-size: 2rem;
}

.login-card .section-header .section-subtitle {
    font-size: 1rem;
}

.social-login-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.social-btn i {
    font-size: 1.2rem;
}

.facebook-btn {
    background-color: #3b5998;
    color: white;
}

.facebook-btn:hover {
    background-color: #2d4373;
    transform: translateY(-2px);
}

.google-btn {
    background-color: #dd4b39;
    color: white;
}

.google-btn:hover {
    background-color: #c23321;
    transform: translateY(-2px);
}

.gitlab-btn {
    background-color: #e24329;
    color: white;
}

.gitlab-btn:hover {
    background-color: #b72e1e;
    transform: translateY(-2px);
}

.or-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: var(--gray);
}

.or-separator::before,
.or-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.or-separator:not(:empty)::before {
    margin-right: .5em;
}

.or-separator:not(:empty)::after {
    margin-left: .5em;
}

.form-group-custom-text {
    margin-bottom: 20px;
    text-align: left; 
}
.form-group-custom {
    margin-bottom: 20px;
    text-align: center; 
}

.input-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--dark);
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary); /* Styles the checkbox itself */
}

.login-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 20px;
}

.link-text {
    font-size: 0.95rem;
    color: var(--gray);
    margin-top: 15px; /* Spacing for "Not registered?" and "Forgot Password?" */
}

.link-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.link-text a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.error-message-text {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 5px;
    display: block; /* Ensure it takes its own line */
}

/* Custom Message Box Styles (for success/error alerts) */
.message-box {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    opacity: 0; /* Start hidden */
    transform: translateY(-10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.message-box.active {
    opacity: 1; /* Fade in */
    transform: translateY(0);
}

.success-message {
    background-color: rgba(74, 222, 128, 0.15); /* Light green */
    color: var(--success);
    border: 1px solid var(--success);
}

.error-message {
    background-color: rgba(239, 68, 68, 0.15); /* Light red */
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* Responsive adjustments for login page */
@media (max-width: 576px) {
    .login-card {
        padding: 25px;
    }

    .login-card .logo {
        font-size: 2rem;
    }

    .login-card .section-header h2 {
        font-size: 1.8rem;
    }

    .social-btn {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .input-field {
        padding: 10px 12px;
    }

    .login-btn {
        padding: 12px;
        font-size: 1rem;
    }
}
/* Register Page Specific Styles (inherits many from login-section/card) */
.register-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #e2e8ff, #f0f4ff); /* Slightly different gradient for variety */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 70%; /* Changed from 800px to 70% */
    width: 100%;
    margin: 0 auto;
}

.register-card .section-header {
    margin-bottom: 30px;
}

.register-card .section-header h2 {
    font-size: 2rem;
}

.register-card .section-header .section-subtitle {
    font-size: 1rem;
}

/* Adjustments for the 'row' and 'col' within the custom form groups */
.register-card .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px; /* Compensate for column padding */
    margin-right: -15px;
}

.register-card .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure full width on small screens */
@media (max-width: 768px) {
    .register-card {
        max-width: 90%; /* Adjust for smaller screens to prevent it from being too narrow */
    }
    .register-card .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Override default button style for register button */
.register-card .btn {
    margin-top: 20px; /* Add some space above the register button */
}

/* Specific styling for the "Already Have an Account?" link */
.register-card .link-text {
    margin-top: 20px;
}

/* Responsive adjustments for register page */
@media (max-width: 576px) {
    .register-card {
        padding: 25px;
    }

    .register-card .section-header h2 {
        font-size: 1.8rem;
    }
}
.register-btn {
    width: 41%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* --------------------- */

  /* Hero Section - About */
        .hero-about {
            background: linear-gradient(135deg, #1d3557 0%, #3a0ca3 100%);
            color: white;
            padding: 51px 0;
            position: relative;
            overflow: hidden;
        }

        .hero-about::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(29, 53, 87, 0.9), rgba(58, 12, 163, 0.9));
            opacity: 1;
        }

        .hero-about .container {
            position: relative;
            z-index: 1;
        }

        .hero-content {
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
        }

        .hero-content h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .hero-content p {
            font-size: 1.3rem;
            margin-bottom: 40px;
            opacity: 0.9;
        }

        /* Mission Section */
        .mission {
            background-color: white;
        }

        .mission-content {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            align-items: center;
        }

        .mission-text {
            flex: 1;
            min-width: 300px;
        }

        .mission-text p {
            margin-bottom: 25px;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .mission-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }

        .mission-card {
            background: var(--light);
            border-radius: 15px;
            padding: 30px;
            transition: var(--transition);
            border: 1px solid rgba(67, 97, 238, 0.1);
        }

        .mission-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(67, 97, 238, 0.1);
            border-color: rgba(67, 97, 238, 0.2);
        }

        .mission-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }

        .mission-icon i {
            font-size: 1.8rem;
            color: white;
        }

        .mission-card h3 {
            margin-bottom: 15px;
            color: var(--dark);
        }

        /* Team Section */
        .team {
            background: linear-gradient(to bottom, #f0f4ff, #e2e8ff);
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .team-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            text-align: center;
            padding: 40px 30px;
        }

        .team-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(67, 97, 238, 0.15);
        }

        .team-icon {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(58, 12, 163, 0.1));
            color: var(--primary);
            font-size: 3rem;
        }

        .team-card h3 {
            margin-bottom: 5px;
            color: var(--dark);
        }

        .team-card .role {
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 15px;
            display: block;
        }

        .team-card p {
            margin-bottom: 20px;
            color: var(--gray);
            font-size: 0.95rem;
        }

        .team-social {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .team-social a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--light);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            transition: var(--transition);
        }

        .team-social a:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-3px);
        }

        /* Stats Section */
        .stats {
            background: white;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            text-align: center;
        }

        .stat-card {
            padding: 30px;
        }

        .stat-number {
            font-size: 3.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 15px;
            line-height: 1;
        }

        .stat-title {
            font-weight: 600;
            color: var(--dark);
            font-size: 1.1rem;
        }

        /* CTA Section */
        .cta-about {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            text-align: center;
            padding: 100px 0;
        }

        .cta-content h2 {
            font-size: 2.8rem;
            margin-bottom: 20px;
        }

        .cta-content p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 40px;
            opacity: 0.9;
        }

        .cta-content .btn {
            background: white;
            color: var(--primary);
            font-weight: 700;
            padding: 15px 40px;
        }

        .cta-content .btn:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        /* Values Section */
        .values {
            background: linear-gradient(to bottom, #f0f4ff, #e2e8ff);
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .value-card {
            background: white;
            border-radius: 15px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
        }

        .value-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(67, 97, 238, 0.15);
        }

        .value-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(58, 12, 163, 0.1));
            color: var(--primary);
            font-size: 2rem;
        }

        .value-card h3 {
            margin-bottom: 15px;
            color: var(--dark);
        }

        .value-card p {
            color: var(--gray);
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero-content h1 {
                font-size: 3rem;
            }
            
            .section-header h2 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 768px) {
            section {
                padding: 60px 0;
            }
            
            .hero-about {
                padding: 80px 0;
            }
            
            .hero-content h1 {
                font-size: 2.5rem;
            }
            
            .hero-content p {
                font-size: 1.1rem;
            }
            
            .section-header {
                margin-bottom: 40px;
            }
            
            .section-header h2 {
                font-size: 2rem;
            }
            
            .cta-content h2 {
                font-size: 2.2rem;
            }

            .mission-content {
                flex-direction: column;
            }
        }

        @media (max-width: 576px) {
            .hero-content h1 {
                font-size: 2rem;
            }
        }
/* Contact Map Section */
.contact-map-section {
  /* This section's padding is now handled by the general 'section' rule */
  background-color: #f8f9fa;
}

.contact-info-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.contact-info-card h3 {
  margin-bottom: 25px;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

.contact-detail {
  margin-bottom: 20px;
}

.contact-detail i {
  color: #3498db;
  margin-right: 15px;
  font-size: 20px;
  width: 25px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  height: 400px;
}

/* Removed duplicate/conflicting header and navigation styles */
/* The main header and navigation styles are defined at the top of the file */


/* Login Page Specific Styles */
.login-section {
    /* Padding handled by general 'section' rule */
    background: linear-gradient(135deg, #f0f4ff, #e2e8ff);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.login-card .logo-container {
    margin-bottom: 30px;
}

.login-card .logo {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 20px;
}

.login-card .section-header {
    margin-bottom: 30px;
}

.login-card .section-header h2 {
    font-size: 2rem;
}

.login-card .section-header .section-subtitle {
    font-size: 1rem;
}

.social-login-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.social-btn i {
    font-size: 1.2rem;
}

.facebook-btn {
    background-color: #3b5998;
    color: white;
}

.facebook-btn:hover {
    background-color: #2d4373;
    transform: translateY(-2px);
}

.google-btn {
    background-color: #dd4b39;
    color: white;
}

.google-btn:hover {
    background-color: #c23321;
    transform: translateY(-2px);
}

.gitlab-btn {
    background-color: #e24329;
    color: white;
}

.gitlab-btn:hover {
    background-color: #b72e1e;
    transform: translateY(-2px);
}

.or-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: var(--gray);
}

.or-separator::before,
.or-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.or-separator:not(:empty)::before {
    margin-right: .5em;
}

.or-separator:not(:empty)::after {
    margin-left: .5em;
}

.form-group-custom-text {
    margin-bottom: 20px;
    text-align: left; 
}
.form-group-custom {
    margin-bottom: 20px;
    text-align: center; 
}

.input-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--dark);
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.login-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 20px;
}

.link-text {
    font-size: 0.95rem;
    color: var(--gray);
    margin-top: 15px;
}

.link-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.link-text a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.error-message-text {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

/* Custom Message Box Styles (for success/error alerts) */
.message-box {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.message-box.active {
    opacity: 1;
    transform: translateY(0);
}

.success-message {
    background-color: rgba(74, 222, 128, 0.15);
    color: var(--success);
    border: 1px solid var(--success);
}

.error-message {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* Register Page Specific Styles (inherits many from login-section/card) */
.register-section {
    /* Padding handled by general 'section' rule */
    background: linear-gradient(135deg, #e2e8ff, #f0f4ff);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 70%;
    width: 100%;
    margin: 0 auto;
}

.register-card .section-header {
    margin-bottom: 30px;
}

.register-card .section-header h2 {
    font-size: 2rem;
}

.register-card .section-header .section-subtitle {
    font-size: 1rem;
}

/* Adjustments for the 'row' and 'col' within the custom form groups */
.register-card .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.register-card .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override default button style for register button */
.register-card .btn {
    margin-top: 20px;
}

/* Specific styling for the "Already Have an Account?" link */
.register-card .link-text {
    margin-top: 20px;
}

.register-btn {
    width: 41%; /* This seems like a specific width, consider making it 100% or using flexbox for better responsiveness */
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* About Us Page Specific Styles */
.hero-about {
    background: linear-gradient(135deg, #1d3557 0%, #3a0ca3 100%);
    color: white;
    padding: 51px 0;
    position: relative;
    overflow: hidden;
}

.hero-about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.9), rgba(58, 12, 163, 0.9));
    opacity: 1;
}

.hero-about .container {
    position: relative;
    z-index: 1;
}

/* Note: .hero-content is a common class, ensure its specific usage in hero-about is intended */
/* If .hero-content is only for the main homepage hero, consider a more specific class for about page hero content */
.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Mission Section */
.mission {
    background-color: white;
}

.mission-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.mission-text {
    flex: 1;
    min-width: 300px;
}

.mission-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.mission-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.mission-card {
    background: var(--light);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(67, 97, 238, 0.1);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.1);
    border-color: rgba(67, 97, 238, 0.2);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mission-icon i {
    font-size: 1.8rem;
    color: white;
}

.mission-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

/* Team Section */
.team {
    background: linear-gradient(to bottom, #f0f4ff, #e2e8ff);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    padding: 40px 30px;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.15);
}

.team-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(58, 12, 163, 0.1));
    color: var(--primary);
    font-size: 3rem;
}

.team-card h3 {
    margin-bottom: 5px;
    color: var(--dark);
}

.team-card .role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.team-card p {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 0.95rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Stats Section */
.stats {
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-card {
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    line-height: 1;
}

.stat-title {
    font-weight: 600;
    color: var(--dark);
    font-size: 1.1rem;
}

/* CTA Section */
.cta-about {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-content .btn {
    background: white;
    color: var(--primary);
    font-weight: 700;
    padding: 15px 40px;
}

.cta-content .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Values Section */
.values {
    background: linear-gradient(to bottom, #f0f4ff, #e2e8ff);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(58, 12, 163, 0.1));
    color: var(--primary);
    font-size: 2rem;
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.value-card p {
    color: var(--gray);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero-about {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }

    .mission-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}
/* Contact Map Section */
.contact-map-section {
  /* This section's padding is now handled by the general 'section' rule */
  background-color: #f8f9fa;
}

.contact-info-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.contact-info-card h3 {
  margin-bottom: 25px;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

.contact-detail {
  margin-bottom: 20px;
}

.contact-detail i {
  color: #3498db;
  margin-right: 15px;
  font-size: 20px;
  width: 25px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  height: 400px;
}


/* Login Page Specific Styles */
.login-section {
    /* Padding handled by general 'section' rule */
    background: linear-gradient(135deg, #f0f4ff, #e2e8ff);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.login-card .logo-container {
    margin-bottom: 30px;
}

.login-card .logo {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 20px;
}

.login-card .section-header {
    margin-bottom: 30px;
}

.login-card .section-header h2 {
    font-size: 2rem;
}

.login-card .section-header .section-subtitle {
    font-size: 1rem;
}

.social-login-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.social-btn i {
    font-size: 1.2rem;
}

.facebook-btn {
    background-color: #3b5998;
    color: white;
}

.facebook-btn:hover {
    background-color: #2d4373;
    transform: translateY(-2px);
}

.google-btn {
    background-color: #dd4b39;
    color: white;
}

.google-btn:hover {
    background-color: #c23321;
    transform: translateY(-2px);
}

.gitlab-btn {
    background-color: #e24329;
    color: white;
}

.gitlab-btn:hover {
    background-color: #b72e1e;
    transform: translateY(-2px);
}

.or-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: var(--gray);
}

.or-separator::before,
.or-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.or-separator:not(:empty)::before {
    margin-right: .5em;
}

.or-separator:not(:empty)::after {
    margin-left: .5em;
}

.form-group-custom-text {
    margin-bottom: 20px;
    text-align: left; 
}
.form-group-custom {
    margin-bottom: 20px;
    text-align: center; 
}

.input-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--dark);
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.login-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 20px;
}

.link-text {
    font-size: 0.95rem;
    color: var(--gray);
    margin-top: 15px;
}

.link-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.link-text a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.error-message-text {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

/* Custom Message Box Styles (for success/error alerts) */
.message-box {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.message-box.active {
    opacity: 1;
    transform: translateY(0);
}

.success-message {
    background-color: rgba(74, 222, 128, 0.15);
    color: var(--success);
    border: 1px solid var(--success);
}

.error-message {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* Register Page Specific Styles (inherits many from login-section/card) */
.register-section {
    /* Padding handled by general 'section' rule */
    background: linear-gradient(135deg, #e2e8ff, #f0f4ff);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 70%;
    width: 100%;
    margin: 0 auto;
}

.register-card .section-header {
    margin-bottom: 30px;
}

.register-card .section-header h2 {
    font-size: 2rem;
}

.register-card .section-header .section-subtitle {
    font-size: 1rem;
}

/* Adjustments for the 'row' and 'col' within the custom form groups */
.register-card .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.register-card .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override default button style for register button */
.register-card .btn {
    margin-top: 20px;
}

/* Specific styling for the "Already Have an Account?" link */
.register-card .link-text {
    margin-top: 20px;
}

.register-btn {
    width: 41%; /* This seems like a specific width, consider making it 100% or using flexbox for better responsiveness */
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
    .our-story-section .story-graphic {
        margin-top: 40px;
    }
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        text-align: center;
    }
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col .contact-info,
    .footer-col .social-links,
    .footer-links {
        justify-content: center;
        text-align: center;
    }
    .footer-links a i {
        margin-right: 5px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2.2rem;
    }

    .main-nav-wrapper {
        display: none;
    }

    .page-header {
        padding: 60px 0;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .our-story-section .section-heading {
        text-align: center;
    }
    .our-story-section .story-graphic {
        flex-direction: column;
        gap: 20px;
        padding: 30px;
    }
    .our-story-section .story-graphic i {
        font-size: 3rem;
    }

    .footer {
        padding: 40px 0 15px;
    }
    .footer .section-header {
        margin-bottom: 30px;
    }
    .footer h2 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col .contact-info,
    .footer-col .social-links,
    .footer-links {
        justify-content: center;
        text-align: center;
    }
    .footer-col .contact-info .icon {
        margin-right: 8px;
    }
    .footer-links li {
        margin-bottom: 8px;
    }
    .footer-links a {
        font-size: 0.9rem;
    }
    .copyright {
        font-size: 0.85rem;
    }
    /* Responsive adjustments for register page */
    .register-card {
        max-width: 90%;
    }
    .register-card .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-feature {
        width: 100%;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }

    .login-card {
        padding: 25px;
    }

    .login-card .logo {
        font-size: 2rem;
    }

    .login-card .section-header h2 {
        font-size: 1.8rem;
    }

    .social-btn {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .input-field {
        padding: 10px 12px;
    }

    .login-btn {
        padding: 12px;
        font-size: 1rem;
    }

    .register-card {
        padding: 25px;
    }

    .register-card .section-header h2 {
        font-size: 1.8rem;
    }
}
.info-card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 2.5rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(0, 243, 255, 0.2);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), var(--glow);
            animation: slideInLeft 1s ease;
        }
        
        .info-card h2 {
            font-family: 'Orbitron', sans-serif;
            font-size: 2rem;
            margin-bottom: 2rem;
            color: var(--secondary);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .contact-info {
            margin-bottom: 2rem;
        }
        
        .info-item {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            margin-bottom: 1.5rem;
            padding: 1rem;
            border-radius: 12px;
            transition: all 0.3s ease;
        }
        
        .info-item:hover {
            background: rgba(173, 175, 183, 0.1);
            transform: translateY(-3px);
        }
        
        .info-icon {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 243, 255, 0.1);
            border-radius: 50%;
            font-size: 1.5rem;
            color: var(--secondary);
            flex-shrink: 0;
        }
        
        .info-content h3 {
            font-size: 1.3rem;
            margin-bottom: 0.3rem;
            color: var(--secondary);
        }
        
        .info-content p {
            opacity: 0.9;
            font-size: 1.1rem;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
        }
        
        .stat-card {
            background: rgba(203, 206, 227, 0.3);
            border-radius: 15px;
            padding: 1.5rem;
            text-align: center;
            border: 1px solid rgba(0, 243, 255, 0.1);
            transition: all 0.3s ease;
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--glow);
        }
        
        .stat-number {
            font-family: 'Orbitron', sans-serif;
            font-size: 2.5rem;
            color: var(--secondary);
            margin-bottom: 0.5rem;
        }
        
        .stat-title {
            font-size: 1rem;
            opacity: 0.8;
        }
        
        .form-card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 2.5rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(0, 243, 255, 0.2);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), var(--glow);
            animation: slideInRight 1s ease;
        }
        
        .form-card h2 {
            font-family: 'Orbitron', sans-serif;
            font-size: 2rem;
            margin-bottom: 2rem;
            color: var(--secondary);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .form-group {
            margin-bottom: 1.8rem;
        }
        
        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--secondary);
        }
        
        
        .map-container {
            grid-column: 1 / -1;
            background: var(--card-bg);
            border-radius: 20px;
            overflow: hidden;
            height: 450px;
            margin-top: 2rem;
            border: 1px solid rgba(0, 243, 255, 0.2);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), var(--glow);
            animation: fadeInUp 1s ease;
        }
        
        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        
        footer {
            text-align: center;
            padding: 3rem 5% 2rem;
            margin-top: 4rem;
            border-top: 1px solid rgba(0, 243, 255, 0.1);
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .social-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 243, 255, 0.1);
            color: var(--secondary);
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .social-icon:hover {
            background: var(--secondary);
            color: var(--primary);
            transform: translateY(-5px);
            box-shadow: var(--glow);
        }
        
        .copyright {
            opacity: 0.7;
            font-size: 0.9rem;
        }
        
        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        .floating {
            animation: floating 3s ease-in-out infinite;
        }
        
        @keyframes floating {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
            100% { transform: translateY(0px); }
        }
        /* Cart Page Specific Styles */
.cart-section {
    background-color: var(--light); /* Light background for the section */
}

.cart-table-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow-x: auto; /* Allows horizontal scrolling on small screens */
    margin-top: 40px;
    padding: 20px; /* Add some padding inside the container */
}

.cart-table {
    width: 100%;
    border-collapse: collapse; /* Removes space between table cells */
    margin-bottom: 0; /* Remove default table margin */
}

.cart-table thead th {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: none; /* Remove default border */
}

.cart-table tbody td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: var(--dark);
    vertical-align: middle; /* Vertically align content in cells */
}

.cart-table tbody tr:last-child td {
    border-bottom: none; /* No border for the last row */
}

.cart-table tfoot td {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    border-top: 2px solid #eee; /* Separator for total row */
    text-align: right;
}

.cart-table tfoot .cart-actions {
    text-align: right;
    padding-top: 20px;
}

.cart-table tfoot .btn {
    margin-left: 15px; /* Space between buttons */
}

/* Specific styling for the remove button */
.cart-table .btn-danger.btn-sm {
    background-color: var(--danger);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cart-table .btn-danger.btn-sm:hover {
    background-color: #d13a3a; /* Darker red on hover */
    transform: translateY(-2px);
}

/* Info message for empty cart */
.info-message.active {
    background-color: rgba(76, 201, 240, 0.15); /* Light blue from accent color */
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    margin-top: 40px;
    opacity: 1; /* Ensure it's visible */
    transform: translateY(0);
}

.info-message .alert-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-message .alert-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Responsive adjustments for Cart Page */
@media (max-width: 768px) {
    .cart-table thead {
        display: none; /* Hide table headers on small screens */
    }

    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
        display: block; /* Make table elements behave like blocks */
        width: 100%;
    }

    .cart-table tr {
        margin-bottom: 15px;
        border: 1px solid #eee;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

    .cart-table td {
        text-align: right;
        padding-left: 50%; /* Make space for pseudo-element labels */
        position: relative;
        border-bottom: 1px solid #f0f0f0;
    }

    .cart-table td::before {
        content: attr(data-label); /* Use data-label for content */
        position: absolute;
        left: 15px;
        width: calc(50% - 30px);
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: var(--dark);
    }

    .cart-table td:last-child {
        border-bottom: none;
    }

    .cart-table tfoot td {
        text-align: center; /* Center total and buttons */
        display: block;
        width: 100%;
        padding: 15px;
    }

    .cart-table tfoot .cart-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .cart-table tfoot .btn {
        width: 100%; /* Full width buttons */
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .cart-table-container {
        padding: 15px;
    }
    .cart-table tbody td {
        padding: 10px 15px;
        padding-left: 45%;
    }
    .cart-table td::before {
        left: 10px;
        width: calc(45% - 20px);
    }
}
/* My Orders Page Specific Styles */
.orders-section {
    background-color: var(--light); /* Light background for the section */
}

.orders-table-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow-x: auto; /* Allows horizontal scrolling on small screens */
    margin-top: 40px;
    padding: 20px; /* Add some padding inside the container */
}

.orders-table {
    width: 100%;
    border-collapse: collapse; /* Removes space between table cells */
    margin-bottom: 0; /* Remove default table margin */
}

.orders-table thead th {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: none; /* Remove default border */
}

.orders-table tbody td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: var(--dark);
    vertical-align: middle; /* Vertically align content in cells */
}

.orders-table tbody tr:last-child td {
    border-bottom: none; /* No border for the last row */
}

.orders-table .course-list {
    list-style: disc; /* Use disc bullets for course list */
    padding-left: 20px; /* Indent the list */
    margin-bottom: 0; /* Remove default margin */
}

.orders-table .course-list li {
    margin-bottom: 5px; /* Space between list items */
    font-size: 0.95rem;
    color: var(--gray);
}

.orders-table .course-list li:last-child {
    margin-bottom: 0;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
    text-align: center;
}

.status-badge-completed {
    background-color: var(--success);
    color: white;
}

.status-badge-pending {
    background-color: var(--warning);
    color: white;
}

/* Action Buttons */
.orders-table .btn-primary.btn-sm {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.orders-table .btn-primary.btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.2);
}

/* Pagination Styling */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pagination li {
    margin: 0;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--dark);
    background-color: white;
    border: 1px solid #eee;
    margin-left: -1px; /* Overlap borders */
    transition: var(--transition);
}

.pagination li:first-child a,
.pagination li:first-child span {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.pagination li:last-child a,
.pagination li:last-child span {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.pagination li.active span {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    z-index: 1; /* Bring active item to front */
}

.pagination li a:hover {
    background-color: var(--light);
    color: var(--primary);
    border-color: var(--primary);
}

/* Responsive adjustments for Orders Page */
@media (max-width: 768px) {
    .orders-table thead {
        display: none; /* Hide table headers on small screens */
    }

    .orders-table, .orders-table tbody, .orders-table tr, .orders-table td {
        display: block; /* Make table elements behave like blocks */
        width: 100%;
    }

    .orders-table tr {
        margin-bottom: 15px;
        border: 1px solid #eee;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

    .orders-table td {
        text-align: right;
        padding-left: 50%; /* Make space for pseudo-element labels */
        position: relative;
        border-bottom: 1px solid #f0f0f0;
    }

    .orders-table td::before {
        content: attr(data-label); /* Use data-label for content */
        position: absolute;
        left: 15px;
        width: calc(50% - 30px);
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: var(--dark);
    }

    .orders-table td:last-child {
        border-bottom: none;
    }

    .orders-table .course-list {
        padding-left: 0; /* Remove default padding for mobile view */
        list-style: none; /* Remove bullets for mobile view */
        text-align: right; /* Align content to the right */
    }

    .orders-table .course-list li {
        margin-bottom: 0; /* Adjust spacing */
        font-size: 0.9rem;
    }

    .orders-table .status-badge {
        display: block; /* Make badge take full width in its cell */
        margin: 5px auto; /* Center badge */
    }

    .orders-table .btn-primary.btn-sm {
        width: 100%; /* Full width button */
        margin-top: 10px;
    }

    .pagination-container {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .orders-table-container {
        padding: 15px;
    }
    .orders-table tbody td {
        padding: 10px 15px;
        padding-left: 45%;
    }
    .orders-table td::before {
        left: 10px;
        width: calc(45% - 20px);
    }
}
/* Thank You Page Specific Styles */
.thankyou-section {
    background: linear-gradient(to bottom, #f0f4ff, #e2e8ff); /* Light gradient background */
    min-height: calc(100vh - 80px - 100px); /* Adjust height: viewport - header - footer */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0; /* Ensure some padding even if min-height pushes content */
}

.thankyou-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    margin: 0 auto; /* Center the card horizontally */
}

.thankyou-icon {
    font-size: 4rem; /* Large icon size */
    color: var(--success); /* Green color for success */
    margin-bottom: 20px;
    animation: fadeIn 0.8s ease-out; /* Simple fade-in animation */
}

.thankyou-card h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.thankyou-card p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.thankyou-card .btn-primary {
    width: auto; /* Allow button to size based on content */
    padding: 12px 30px;
    font-size: 1rem;
}

/* Responsive adjustments for Thank You page */
@media (max-width: 768px) {
    .thankyou-card {
        padding: 30px;
        max-width: 90%;
    }
    .thankyou-icon {
        font-size: 3rem;
    }
    .thankyou-card h2 {
        font-size: 1.8rem;
    }
    .thankyou-card p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .thankyou-card {
        padding: 25px;
    }
    .thankyou-icon {
        font-size: 2.5rem;
    }
    .thankyou-card h2 {
        font-size: 1.6rem;
    }
    .thankyou-card p {
        font-size: 0.95rem;
    }
    .thankyou-card .btn-primary {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}
/* Quiz Report Page Specific Styles */
.quiz-report-section {
    background: linear-gradient(to bottom, #f0f4ff, #e2e8ff); /* Light gradient background */
}

.report-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 900px; /* Max width for the report card */
    width: 100%;
    margin: 40px auto; /* Center the card and provide vertical space */
    text-align: center; /* Center content by default */
}

.quiz-report-header {
    margin-bottom: 30px;
}

.quiz-report-header h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.marks-summary {
    background-color: var(--light);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around; /* Distribute items evenly */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px; /* Space between items */
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05); /* Subtle inner shadow */
}

.marks-item h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0;
}

.marks-item .marks-value {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.5rem;
}

/* Table Styling for Quiz Report */
.table-responsive-custom {
    overflow-x: auto; /* Ensures table is scrollable on small screens */
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px; /* Space above the table */
}

.report-table thead th {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: none;
}

.report-table tbody td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: var(--dark);
    vertical-align: top; /* Align text to top for multi-line questions */
    text-align: left; /* Default text alignment */
}

.report-table tbody tr:last-child td {
    border-bottom: none;
}

/* Specific column styling */
.report-table .correct-answer-col {
    color: var(--success); /* Green for correct answer column header */
}

.report-table .your-answer-col {
    color: var(--danger); /* Red for your answer column header */
}

.report-table .correct-answer-text {
    color: var(--success); /* Green text for correct answers */
    font-weight: 500;
}

.report-table .your-answer-text {
    color: var(--danger); /* Red text for incorrect answers */
    font-weight: 500;
}

/* Row highlighting based on correctness */
.report-table .correct-row {
    background-color: rgba(74, 222, 128, 0.05); /* Very light green background */
}

.report-table .incorrect-row {
    background-color: rgba(239, 68, 68, 0.05); /* Very light red background */
}

/* Empty data messages */
.message-box.info-message,
.message-box.warning-message,
.message-box.error-message {
    margin-top: 20px; /* Space above messages */
}

/* Responsive adjustments for Quiz Report Page */
@media (max-width: 768px) {
    .report-card {
        padding: 30px;
        margin: 30px auto;
    }
    .quiz-report-header h2 {
        font-size: 1.8rem;
    }
    .marks-summary {
        flex-direction: column; /* Stack marks items on small screens */
        align-items: center;
        padding: 20px;
    }
    .marks-item h3 {
        font-size: 1.1rem;
    }
    .marks-item .marks-value {
        font-size: 1.3rem;
    }

    .report-table thead {
        display: none; /* Hide table headers on small screens */
    }

    .report-table, .report-table tbody, .report-table tr, .report-table td {
        display: block; /* Make table elements behave like blocks */
        width: 100%;
    }

    .report-table tr {
        margin-bottom: 15px;
        border: 1px solid #eee;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

    .report-table td {
        text-align: right;
        padding-left: 50%; /* Make space for pseudo-element labels */
        position: relative;
        border-bottom: 1px solid #f0f0f0;
    }

    .report-table td::before {
        content: attr(data-label); /* Use data-label for content */
        position: absolute;
        left: 15px;
        width: calc(50% - 30px);
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: var(--dark);
    }

    .report-table td:last-child {
        border-bottom: none;
    }

    .report-table .correct-answer-text,
    .report-table .your-answer-text {
        text-align: right; /* Ensure text aligns right in mobile view */
    }
}

@media (max-width: 576px) {
    .report-card {
        padding: 25px;
    }
    .quiz-report-header h2 {
        font-size: 1.6rem;
    }
    .report-table tbody td {
        padding: 10px 15px;
        padding-left: 45%;
    }
    .report-table td::before {
        left: 10px;
        width: calc(45% - 20px);
    }
}
